package com.tongguan.paypos.entity;

import com.google.gson.Gson;

import java.util.List;

/**
 * Created by Joylive on 2016/12/18 .
 */

public class TransBillsInfo {

    /**
     * total : 114
     * message : 获取订单列表成功
     * status : 100
     * orders : []
     * orderPayMoneys : 13.11
     * payRefund : 14
     * paySuccess : 100
     * payCorrection : 0
     */
    private int total;
    private String message;
    private int status;
    private String orderPayMoneys;
    private int payRefund;
    private int paySuccess;
    private int payCorrection;
    private List<BillsInfo> orders;

    public static TransBillsInfo objectFromData(String str) {

        return new Gson().fromJson(str, TransBillsInfo.class);
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getOrderPayMoneys() {
        return orderPayMoneys;
    }

    public void setOrderPayMoneys(String orderPayMoneys) {
        this.orderPayMoneys = orderPayMoneys;
    }

    public int getPayRefund() {
        return payRefund;
    }

    public void setPayRefund(int payRefund) {
        this.payRefund = payRefund;
    }

    public int getPaySuccess() {
        return paySuccess;
    }

    public void setPaySuccess(int paySuccess) {
        this.paySuccess = paySuccess;
    }

    public int getPayCorrection() {
        return payCorrection;
    }

    public void setPayCorrection(int payCorrection) {
        this.payCorrection = payCorrection;
    }

    public List<BillsInfo> getOrders() {
        return orders;
    }

    public void setOrders(List<BillsInfo> orders) {
        this.orders = orders;
    }
}
